//
//  ViewController.swift
//  Swift测试AFNetworking
//
//  Created by 伍银荣 on 2021/12/22.
//  Copyright © 2021 com.WYR. All rights reserved.
//

import UIKit

class ViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        
        NetworkTools.sharedTools.request(method: RequestMethod.POST, URLString: "post", parameters: ["name": "zhangsan"], headers: ["age": "12"], progress: nil) { (result, error) in
            print(result as Any )
        }
//        NetworkTools.sharedTools.request(URLString: "data/sk/101010100.html", parameters: nil, headers: nil, progress: nil) { (result, error) in
//            print(result as Any)
//
//        }
    }


}

